package String;

import java.util.Scanner;

public class string_bianli {
    public static void main(String[] args) {
        //1.键盘录入一个字符串
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个字符串");
        String s = sc.next();

        //bianli
        for(int i=0;i<s.length() ;i++){
            char c=s.charAt(i);//依次表示字符串的每一个索引
            System.out.println(c);
        }
    }
}
